<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<script type="text/javascript">
  HMSBusiness.startup({
	    title:'任务策略管理',
	    structure:"TaskStrategyCol",
		service:"strategyTask",
		filter_data:"TaskStrategyFil",
		pk:"allTasks",
		query:{taskId:"*"},
		grid_buttons:["NULL"<sec:authorize access="hasRole('TASK_STRATEGY_ADD')">,"CREATE"</sec:authorize>,"VIEW"<sec:authorize access="hasRole('TASK_STRATEGY_EDIT')">,"UPDATE"</sec:authorize><sec:authorize access="hasRole('TASK_STRATEGY_REMOVE')">,"DELETE"</sec:authorize><sec:authorize access="hasRole('TASK_STRATEGY_START')">,"START_STRATEGY_TASK"</sec:authorize>],
		filter_buttons:["FIND"],
        flowCallBack:HMSFlowStore.taskStrategyFlow,
        flowControllParams:"taskTypeId",
        finished:false       		
	  });
  /*var gBtns=["NULL"<sec:authorize access="hasRole('TASK_STRATEGY_ADD')">,"CREATE"</sec:authorize>,"VIEW"<sec:authorize access="hasRole('TASK_STRATEGY_EDIT')">,"UPDATE"</sec:authorize><sec:authorize access="hasRole('TASK_STRATEGY_REMOVE')">,"DELETE"</sec:authorize><sec:authorize access="hasRole('TASK_STRATEGY_START')">,"START_STRATEGY_TASK"</sec:authorize>];
  var fBtns=["FIND","MULTI_FIND"];*/

</script>
<!--<div id="allTasks" pk="allTasks" class="center" dojoType="comba.widget.BusinessGrid" title="任务策略管理" structure="TaskStrategyCol" filter_data="TaskStrategyFil" service="strategyTask" grid_buttons=gBtns filter_buttons=fBtns  flowCallBack=HMSFlowStore.taskStrategyFlow flowControllParams="taskTypeId" finished=false></div>-->
<div id="allTasks"></div>
